package com.assignwork.mapper;

import com.assignwork.dto.ShiftRuleSearchDTO;
import com.assignwork.entity.ShiftRule;
import com.assignwork.vo.ShiftRuleVO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName ShiftRuleMapper
 * @Description 班组生成规则Mapper
 * @Author dujianyu
 * @Date 2023/12/1 15:41
 */
public interface ShiftRuleMapper extends BaseMapper<ShiftRule> {
    /**
     * 列表
     * @param dto 搜索参数
     * @param page 分页
     * @return List<ShiftRuleVO>
     * @author dujianyu
     * @since 2023/12/5 14:12
     */
    List<ShiftRuleVO> selectShiftRuleList(@Param("dto") ShiftRuleSearchDTO dto, IPage page);
}
